Skip to main content

Flow Node Report


Type of Report -

  • Standard

Purpose of the Report -

This report gives us complete analytics within the date range about all intents, like how many times an intent was initiated how many times it was completed, and what paths within the flow users took. This data then can be used to analyze and optimize the flows to increase the no of people completing the flows.

Detailed Description -

Name of ColumnDescription of FieldWhere is the value fetched from (Collection: Session_info & event_logs)
SessionIdThis field contains all the sessions in which the current intent was triggeredSession Id of chat session we traversed
Dynamic Node/event namesThese are the names of nodes within the workflowNode visit count is increased if a session Id has visited a node which is depicted in the event log collection and session info.
Each sub-sheet displays data from a single intenIntent nameAll available intents

Dynamic Node / event names :

In each sub-sheet of intent the first row is filled with the name of nodes such that event names of the possible points that user can navigate to, these are calculated automatically by traversing the flow of the intent and finding name of each node and adding it to the report. We call this feature auto flow detection.

For this we start with the intent whose event flow we want to determine, then we take the event at this intent as the first event in our flow then check if any workflow is attached to the intent, if there is a workflow attached then we start traversing the workflow Id and node Id and take it’s event next in the flow, after this we check if this node is connected to any other node and if yes then we traverse to it and the same process continues until we have traversed the whole flow.

Data entry in this sheet for each session :

Once the structure of the report is ready then we start to analyse the sessions. How this works is we take all the event in each session that are the once that exist in any of our flows. Then we loop through each event and check if this event starts any of the intents, if yes then we assume that an intent was started and we start increasing the count against this sessionId in that intent’s flow data. As we keep checking more events in this session and keep on marking the once they have visited, and in case an another event is discovered which triggers an intent then that new transaction is started recording, such that increasing the events count against the sessionId in respective intent.

Example of Report -

Flow Node Report

Image

https://docs.google.com/spreadsheets/d/15myzSSXSHq4jCYl0RNXmHa9OwjqBC5wo/edit#gid=1413595895

Report Format - 

    *branch : development*

*Path : Reports/flowNodeReport.js*

Aggregation -

    *branch : development*

*Path : Reports/flowNodeReport.js*